home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 7077 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  802 b 

  1. Path: daily-planet.execpc.com!usenet
  2. From: scalish@execpc.com (Sherri Scalish)
  3. Newsgroups: comp.lang.c++
  4. Subject: HELP!  cin.getline to cin
  5. Date: 21 Feb 1996 18:12:48 GMT
  6. Organization: Exec-PC Internet
  7. Message-ID: <4gfnb0$2a6@daily-planet.execpc.com>
  8. NNTP-Posting-Host: its.execpc.com
  9. Mime-Version: 1.0
  10. Content-Type: Text/Plain; charset=US-ASCII
  11. X-Newsreader: WinVN 0.99.6
  12.  
  13. I am a C++ student trying to use the cin.getline and cin stream 
  14. operators to load in user input.  The data I am loading is first 
  15. character strings, then floats, integers, then back to character 
  16. strings.  Everything works fine with my cin.getlines until after I use 
  17. the cin to load a integer or float, then nothing happens when I try to 
  18. use the cin.getline function for the rest of the input.  Any ideas to 
  19. share with me?
  20.  
  21.